package asteroids.model.programs.expression;

import asteroids.model.programs.type.DoubleType;
import asteroids.model.programs.type.Entity;

public class GetY extends Getter {

	public GetY(int line, int column, E e) {
		super(line, column, e);
	}
	
	public DoubleType getValue(){
		return new DoubleType(((Entity) getExpression().getValue()).getValue().getY());
	}
}
